package o;

import android.animation.Animator;
import android.animation.Animator.AnimatorListener;
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.os.Build.VERSION;
import android.view.View;
import android.view.ViewAnimationUtils;
import o.arm.c;
import o.arm.d;
import o.arm.e;

public final class aro {
    public static Animator ˎ(arm o_arm, float f, float f2, float f3) {
        Animator ofObject = ObjectAnimator.ofObject(o_arm, c.ˊ, e.ˏ, new d[]{new d(f, f2, f3)});
        if (VERSION.SDK_INT < 21) {
            return ofObject;
        }
        d k_ = o_arm.k_();
        if (k_ == null) {
            throw new IllegalStateException("Caller must set a non-null RevealInfo before calling this.");
        }
        Animator createCircularReveal = ViewAnimationUtils.createCircularReveal((View) o_arm, (int) f, (int) f2, k_.ˎ, f3);
        Animator animatorSet = new AnimatorSet();
        animatorSet.playTogether(new Animator[]{ofObject, createCircularReveal});
        return animatorSet;
    }

    public static AnimatorListener ˏ(final arm o_arm) {
        return new AnimatorListenerAdapter() {
            public void onAnimationStart(Animator animator) {
                o_arm.ˊ();
            }

            public void onAnimationEnd(Animator animator) {
                o_arm.p_();
            }
        };
    }
}
